<template>
	<view>
		<view class="title">
			<text>我的挂号记录</text>
		</view>
		<view class="body">
			<view class="whole">
				<view>医生姓名：{{order.name}}</view>
				<view>科室：{{order.depart}}</view>
			</view>
			<view>预约时间：{{order.orderTime}}</view>
			<view class="time">订单创建时间:{{order.time}}</view>
		</view>
	</view>
</template>

<script>
	import {
		mapState
	} from "vuex"
	export default {
		data() {
			return {

			};
		},
		computed: {
			...mapState("m_doctor", ["order"])

		}
	}
</script>

<style lang="less">
	.whole {
		display: flex;
		justify-content: space-between;
	}

	.time {
		font-weight: bold;
		color: chocolate;
	}

	.body {
		border: 1px solid skyblue;
		padding: 20px 20rpx;
		margin: 10rpx;

	}

	.title {
		text-align: center;
	text{
		font-size: 60rpx;
		font-weight: bold;
		border-radius: 3rpx;
		background-color: lightblue;
	}
	}
</style>